home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Select (Limited Edition)
/
Computer Select.iso
/
pcc
/
v04n12
/
batch2.exe
/
NEWDATE.BAT
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
DOS Batch File
|
1991-10-10
|
290 b
|
15 lines
@ECHO OFF
REM This is NEWDATE.BAT
IF %1!==! GOTO OOPS
IF NOT EXIST %1 GOTO NOTFOUND
COPY /B %1 +,, > NUL
ECHO %1 date and time updated.
GOTO END
:NOTFOUND
ECHO %1 not found; try again.
:OOPS
ECHO Enter the file whose date
ECHO and time you want to update
ECHO after %0
:END